<?php

namespace App\Repository\RepositoryInterface;

interface CouponInterface
{
    public function modification($discountData, $id);

    public function listview($where);

    public function delete($id);

    public function create($discountData);

    public function read($id);

    public function attachedCreate($attachedData);

    public function attachedUpdate($attachedData, $id);

    public function userList($id);

    public function useradd($id, $couponId);

    public function changeStatus($id, $status);

    public function getGoods();

    public function checkStatus($data);

    public function productDiscount($id);
}
